package com.punai.standard.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.punai.common.utils.converter.FeeTypeConverter;

import java.math.BigDecimal;

@ExcelIgnoreUnannotated
@ColumnWidth(20)
@HeadRowHeight(20)
public class StaSubpkLinkConsume {

    @ExcelProperty("ID")
    private String id;

    @ExcelIgnore
    private String versionId;

    @ExcelProperty("地区")
    private String address;

    @ExcelIgnore
    private String specId;

    @ExcelProperty("标准费用项id")
    private String subpkItemId;

    @ExcelProperty("关联标准或特征描述id")
    private String linkGxFeatureId;

    @ExcelProperty("类别id")
    private String categoriesId;

    @ExcelProperty("参考耗量")
    private BigDecimal referenceConsume;

    @ExcelProperty("自定义耗量")
    private BigDecimal realityConsume;

    @ExcelProperty(value = "类型",converter = FeeTypeConverter.class)
    private String type;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getVersionId() {
        return versionId;
    }

    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getSpecId() {
        return specId;
    }

    public void setSpecId(String specId) {
        this.specId = specId;
    }

    public String getSubpkItemId() {
        return subpkItemId;
    }

    public void setSubpkItemId(String subpkItemId) {
        this.subpkItemId = subpkItemId;
    }

    public String getLinkGxFeatureId() {
        return linkGxFeatureId;
    }

    public void setLinkGxFeatureId(String linkGxFeatureId) {
        this.linkGxFeatureId = linkGxFeatureId;
    }

    public String getCategoriesId() {
        return categoriesId;
    }

    public void setCategoriesId(String categoriesId) {
        this.categoriesId = categoriesId;
    }

    public BigDecimal getReferenceConsume() {
        return referenceConsume;
    }

    public void setReferenceConsume(BigDecimal referenceConsume) {
        this.referenceConsume = referenceConsume;
    }

    public BigDecimal getRealityConsume() {
        return realityConsume;
    }

    public void setRealityConsume(BigDecimal realityConsume) {
        this.realityConsume = realityConsume;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
